const decorator: ParameterDecorator = (target: any, propertyKey: string | symbol, parameterIndex: number) => {
  console.log(target, propertyKey, parameterIndex);
}


class FlowerTip {
  name: string;
  age: number;
  constructor(name: string, age: number) {
    this.name = name;
    this.age = age;
  }

  sayHello( @decorator name: string,  @decorator age: number) {
    console.log('hello');
  }
}

const flowerTip = new FlowerTip('flowerTip', 18);
